/*    */
package com.liang.manage.auth.facade.dto.role;
/*    */
/*    */

import java.io.Serializable;

/*    */
/*    */ public class RoleOutDTO
        /*    */ implements Serializable
        /*    */ {
    /*    */   private Integer id;
    /*    */   private String code;
    /*    */   private String name;
    /*    */   private String grade;
    /*    */   private String description;
    /*    */   private static final long serialVersionUID = 1L;

    /*    */
    /*    */
    public Integer getId()
    /*    */ {
        /* 13 */
        return this.id;
        /*    */
    }

    /*    */
    /*    */
    public String getCode()
    /*    */ {
        /* 18 */
        return this.code;
        /*    */
    }

    /*    */
    /*    */
    public String getName()
    /*    */ {
        /* 23 */
        return this.name;
        /*    */
    }

    /*    */
    /*    */
    public String getGrade()
    /*    */ {
        /* 28 */
        return this.grade;
        /*    */
    }

    /*    */
    /*    */
    public String getDescription()
    /*    */ {
        /* 33 */
        return this.description;
        /*    */
    }

    /*    */
    /*    */
    public void setId(Integer id)
    /*    */ {
        /* 11 */
        this.id = id;
    }

    /* 11 */
    public void setCode(String code) {
        this.code = code;
    }

    /* 11 */
    public void setName(String name) {
        this.name = name;
    }

    /* 11 */
    public void setGrade(String grade) {
        this.grade = grade;
    }

    /* 11 */
    public void setDescription(String description) {
        this.description = description;
    }

    /* 11 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof RoleOutDTO)) return false;
        RoleOutDTO other = (RoleOutDTO) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
        Object this$code = getCode();
        Object other$code = other.getCode();
        if (this$code == null ? other$code != null : !this$code.equals(other$code)) return false;
        Object this$name = getName();
        Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        Object this$grade = getGrade();
        Object other$grade = other.getGrade();
        if (this$grade == null ? other$grade != null : !this$grade.equals(other$grade)) return false;
        Object this$description = getDescription();
        Object other$description = other.getDescription();
        return this$description == null ? other$description == null : this$description.equals(other$description);
    }

    /* 11 */
    protected boolean canEqual(Object other) {
        return other instanceof RoleOutDTO;
    }

    /* 11 */
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $code = getCode();
        result = result * 59 + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $grade = getGrade();
        result = result * 59 + ($grade == null ? 43 : $grade.hashCode());
        Object $description = getDescription();
        result = result * 59 + ($description == null ? 43 : $description.hashCode());
        return result;
    }

    /* 11 */
    public String toString() {
        return "RoleOutDTO(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", grade=" + getGrade() + ", description=" + getDescription() + ")";
    }
    /*    */
    /*    */
}

/* Location:           C:\maven\maven3.5\maven3.5\repositor\io\github\maliangnansheng\nansheng-common\3.3.4\nansheng-common-3.3.4.jar
 * Qualified Name:     com.liang.manage.auth.facade.dto.role.RoleOutDTO
 * JD-Core Version:    0.6.2
 */